package com.cctv.fmaed.module.redis.memory.pojo.po;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * 客户端数量PO
 *
 * @author heyingcheng
 * @since 2023/6/20
 */
@Setter
@Getter
@ToString
@NoArgsConstructor
public class ClientNumberPO {

    /**
     * WS服务器ID
     */
    private String wssid;
    /**
     * WS服务器IP-PORT
     */
    private String wssip;
    /**
     * 生存时间值
     */
    private Long ttl;
    /**
     * 客户端数量
     */
    private Integer number;

    public ClientNumberPO(String wssid, String wssip, Long ttl, Integer number) {
        this.wssid = wssid;
        this.wssip = wssip;
        this.ttl = ttl;
        this.number = number;
    }

}
